const Layout = () => import("@/layout/index.vue");

export default {
  path: "/",
  name: "Home",
  component: Layout,
  redirect: "/workbench",
  meta: {
    icon: "twemoji:desktop-computer",
    title: "工作台",
    rank: 0
  },
  children: [
    {
      path: "/workbench",
      name: "workbench",
      component: () => import("@/views/workbench/workbench.vue"),
      meta: {
        title: "首页",
      }
    },
    {
      path: "/persondata",
      name: "persondata",
      component: () => import("@/views/persondata/persondata.vue"),
      meta: {
        title: "个人资料",
        showLink: false
      }
    },
    {
      path: "/resetpass",
      name: "resetpass",
      component: () => import("@/views/resetpass/resetpass.vue"),
      meta: {
        title: "重置密码",
        showLink: false
      }
    }
  ]
} as RouteConfigsTable;
